package com.vivo.house.dao;

import com.vivo.house.entity.AreaUseHistory;
import com.vivo.house.entity.AreaUseHistoryExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface AreaUseHistoryMapper {
    int countByExample(AreaUseHistoryExample example);

    int deleteByExample(AreaUseHistoryExample example);

    int deleteByPrimaryKey(String id);

    int insert(AreaUseHistory record);

    int insertSelective(AreaUseHistory record);

    List<AreaUseHistory> selectByExample(AreaUseHistoryExample example);

    AreaUseHistory selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") AreaUseHistory record, @Param("example") AreaUseHistoryExample example);

    int updateByExample(@Param("record") AreaUseHistory record, @Param("example") AreaUseHistoryExample example);

    int updateByPrimaryKeySelective(AreaUseHistory record);

    int updateByPrimaryKey(AreaUseHistory record);
    
    int insertList(List<AreaUseHistory> areaUseList);
}